package com.auto.code.common;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class IndexController{
	@RequestMapping(value = "", method = RequestMethod.GET)
    public ModelAndView index() throws Exception {
        return new ModelAndView("index");
    }
	
	@RequestMapping(value = "/dashboard", method = RequestMethod.GET)
    public ModelAndView dashboard() throws Exception {
		return new ModelAndView("dashboard");
    }
}
